test("Global Exposed Methods",function(){
	
	expect( 15 );
	
	// abstract the name of the plugin
	var plugin = "plugin_test5", 
	// elements to instantiate the plugin
	$div1 = jQuery('<div></div>'), 
	$div2 = jQuery('<div></div>'), 
	$div3 = jQuery('<div></div>'), 
	// track method calls
	called = 0,
	// configure the plugin
	config = {
		expose: "meth1 meth3",
		destroy: function(){
			called += 1;
			},
		disable: function( arg ){
			called += arg ? 1 : -1;
			},
		methods: {
			meth1: function(){
				called += 1;
				},
			meth2: function(){
				called += 1;
				},
			meth3: function(){
				called += 1;
				return called;
				}	
			}
		};
	
	// create the plugin
	ok( jQuery.ux( plugin, config ), "plugin created successfully");
	ok( jQuery[ plugin ], "plugin function exists");
	// create three instances
	ok( $div1[ plugin ]().is(':'+ plugin ), "1st plugin instance created");
	ok( $div2[ plugin ]().is(':'+ plugin ), "2nd plugin instance created");
	ok( $div3[ plugin ]().is(':'+ plugin ), "3rd plugin instance created");
	
	// call "meth1"
	$.ux( plugin +".meth1"); // $[ plugin ]("meth1");
	equals( called, 3, "method1 was called three times" );
	
	// call "meth2"
	$.ux( plugin +".meth2"); // $[ plugin ]("meth2");
	equals( called, 3, "method2 was not called (not exposed)" );
	
	// call "meth3"
	$.ux( plugin +".meth3"); // $[ plugin ]("meth3");
	equals( called, 6, "method3 was called three times" );
	
	// call "meth3" again
	equals( $.ux( plugin +".meth3"), 9, "method3 returns the last value" );
	
	// freebies: disable
	$.ux( plugin +".disable");
	equals( called, 12, "disable method was called three times" );
	
	// freebies: enable
	$.ux( plugin +".enable");
	equals( called, 9, "enable method was called three times" );
	
	// freebies: destroy
	$.ux( plugin +".destroy");
	equals( called, 12, "destroy method was called three times" );
	
	// check three instances
	ok( !$div1.is(':'+ plugin ), "1st plugin was detroyed");
	ok( !$div2.is(':'+ plugin ), "2nd plugin was detroyed");
	ok( !$div3.is(':'+ plugin ), "3rd plugin was detroyed");
	
	// cleanup for other tests
	jQuery.ux( plugin, false );
	});